<%-- 
    Document   : AccountDetail
    Created on : Feb 26, 2013, 4:50:22 PM
    Author     : trungnm
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body onload="loadAccountDetailInfo()">
        <%@include file="/WEB-INF/headerMainPage.jsp" %>
        <div class="background-main">
            <div id="Account-detail">
                <%@page language="java" %>
                <% if (role.equals("Admin")) {%>
                <a href="">Về trang quản lý</a>
                <%}%>
                <div id="information-wraper">
                    <div id="information">
                        <div id="label-information">
                            <label>Fullname</label><br/><br/>
                            <label>Username</label><br/><br/>
                            <label>Address</label><br/><br/>
                            <label>Phone</label><br/><br/>
                        </div>
                        <div id="content-information">
                            <input id="infor-fullname" type="text" name="txtfullname" readonly value=""/>
                            <input id="infor-username" type="text" name="txtusername" readonly value=""/>
                            <input id="infor-address" type="text" name="txtaddress" value=""/>
                            <input id="infor-phone" type="text" name="txtphone" value="" placeholder=" Số điện thoại phải từ 10 đến 12 kí số"/> <font id="error-infor-phone" style="color: red; font-weight: bold;"></font>
                        </div>
                    </div>
                    <div id="information-btn">
                        <button onclick="return AccountInfo()">Cập nhật</button>
                    </div>
                </div>
                <div id="password-change-wraper">
                    <div id="notify-change-pass" style="color: blue; font-weight: bold; height: 20px;" align="center"></div>
                    <div id="password-change">
                        <div id="label-password-change">
                            <label>Mật khẩu cũ</label><br/><br/>
                            <label>Mật khẩu mới</label><br/><br/>
                            <label>Xác nhận mật khẩu mới</label><br/><br/>
                        </div>
                        <div id="content-password-change">
                            <input id="pass-oldPass" type="password" name="txtOldpassword"  value="" placeholder=" Mật khẩu từ 6 đến 10 kí tự"/> <font id="error-pass-oldPass" style="color: red; font-weight: bold;"></font>
                            <input id="pass-newPass" type="password" name="txtNewpassword"  value="" placeholder=" Mật khẩu từ 6 đến 10 kí tự"/> <font id="error-pass-newPass" style="color: red; font-weight: bold;"></font>
                            <input id="pass-ConfirmPass" type="password" name="txtConfirmpassword" value=""/> <font id="error-pass-ConfirmPass" style="color: red; font-weight: bold;"></font>
                        </div>
                    </div>
                    <div id="password-change-btn">
                        <button onclick="return AccountPassword()">Cập nhật</button>
                    </div>
                </div>
            </div>
        </div>
        <%@include file="/WEB-INF/footerMainPage.jsp" %>
    </body>
</html>
